package com.akk.module.authentication.model.request;

import java.io.Serializable;

public class IdCardAuthRequest implements Serializable,AuthRequest {

    private static final long serialVersionUID = 1L;

    /*身份证*/
    private String idCard;
    /*实名*/
    private String realName;
    /*类型*/
    private Integer typed;
    /*请求原因*/
    private String idCardReason;

    public Integer getTyped() {
        return typed;
    }

    public void setTyped(Integer typed) {
        this.typed = typed;
    }

    public String getIdCardReason() {
        return idCardReason;
    }

    public void setIdCardReason(String idCardReason) {
        this.idCardReason = idCardReason;
    }

    public enum TypedE{
        /*不返回头像*/
        NO_PHOTO(0),
        /*返回头像*/
        YES_PHOTO(1);
        private int value;

        TypedE(int value) {
            this.value = value;
        }

        public int getValue() {
            return value;
        }
    }

    public String getIdCard() {
        return idCard;
    }

    public void setIdCard(String idCard) {
        this.idCard = idCard;
    }

    public String getRealName() {
        return realName;
    }

    public void setRealName(String realName) {
        this.realName = realName;
    }
}
